FROM java:8
MAINTAINER ningmo1@crediteas.ecn
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
 && echo 'Asia/Shanghai' > /etc/timezone
ADD target/*.jar /app.jar
EXPOSE 8080
ENTRYPOINT ["java","-DMYSQL-HOST=jimureport-mysql","-Dfile.encoding=utf-8", "-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
